/***************** page布局统一配置 *******************/
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: 100vh;
}

.page .page-header {
  padding: 0;
  margin: 0;
  border: none;
  /* background: white; */
  width: 100%;
}

.nav-back-btn {
  padding: 10px 10px 10px 0;
  font-size: 24px;
}

.page .page-main {
  flex: 1;
  height: 0;
  overflow-y: scroll;
}

/* 常用主题背景头部 */
.page .page-header.page-header-primary {
  width: 100%;
  background: url(../images/header_bg.png) no-repeat;
  background-size: 100% 82px;
  position: relative;
}

.page .page-header.page-header-primary::after {
  display: block;
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
}

.page .page-header.page-header-primary .tab-nav {
  background: none;
}

/* 头部导航 */
.page .page-header .page-header-nav {
  display: flex;
  align-items: center;
  padding: 5px;
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 50px;
  background: white;
  box-shadow: 0 1px 5px var(--border-color-base);
}

.page .page-header-nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.page .page-header-nav.transparent {
  background: transparent;
  box-shadow: none;
}

.page .page-header .header-nav-left,
.page .page-header .header-nav-right {
  width: 80px;
  display: flex;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.page .page-header .header-nav-left {
  left: 0;
  padding-left: 5px;
}

.page .page-header .header-nav-title {
  flex: 1;
  text-align: center;
  font-size: var(--font-size-normal);
  padding: 0 80px;
}

.page .page-header .header-nav-right {
  justify-content: flex-end;
  right: 0;
  padding-right: 5px;
}

/* ActionSheet 动作面板 */
.action-sheet.open > .dropdown-menu {
  position: fixed;
  bottom: 0;
  top: auto;
  left: 0;
  height: 150px;
  width: 100vw;
  overflow-y: auto;
  text-align: center;
}

.action-sheet.open > .dropdown-toggle {
  box-shadow: none;
}

.action-sheet.open > .dropdown-menu a {
  line-height: 2;
}

.action-sheet.open > .dropdown-menu .active a {
  color: var(--color-primary);
  background: none;
}

/* 标题背景小图标 */
.title_bg_icon_min {
  background-image: url(../images/title_icon_min.png);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: auto 5px;
}

/* badge */
.tag-badge {
  min-width: 10px;
  text-align: center;
  height: 10px;
  line-height: 10px;
  font-size: 8px;
  background: var(--color-primary);
  color: white;
  position: absolute;
  right: -5px;
  top: -5px;
  border-radius: 50%;
  padding: 1px;
}

/********************* 非组件公共样式 **************************/
/* 查看数eye图标 */
.eye-icon::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 8px;
  background: url(../images/eye_icon.png) no-repeat;
  background-size: 100%;
  margin-right: 5px;
}

/* 用户头像 */
.user-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/********************** 资讯列表item **************/
.news-item {
  position: relative;
}

.news-item.news-item-top::before {
  content: 'TOP';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  padding: 1px 1px 0 1px;
  background: var(--color-primary);
  color: white;
  font-size: 9px;
  line-height: 1;
}

.news-item .news-img {
  width: 118px;
  height: 77px;
}

/********************** 比赛列表item **************/
.match-item .match-item-info {
  position: relative;
  padding: 0 35px;
}

.match-item .match-item-star {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
}

.match-item .match-team-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* 比赛统计item */
.stats-item {
  padding: 10px 0;
}

.stats-item .match-team-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* 排行item */
.rank-item {
  padding: 15px 0;
  background-color: white;
  margin-bottom: 1px;
  position: relative;
}

.rank-item .rank-item-tag {
  position: absolute;
  top: 0%;
  left: 10px;
  background-size: 100% 100%;
  color: white;
  padding: 2px 15px 2px 7px;
  z-index: 1;
  font-size: 10px;
  background: linear-gradient(-45deg, transparent 7px, #ff571d 0);
  border-radius: 3px;
  line-height: 1;
}

.rank-item .rank-item-tag_ {
  background: linear-gradient(-45deg, transparent 7px, #a9a9a9 0);
}

.rank-item .rank-team-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-right: 5px;
}

/********************** 视频列表item **************/
.video-item {
  border-radius: 10px;
  overflow: hidden;
  padding: 10px;
  background-color: white;
}

.video-item .video-item-img {
  position: relative;
}

.video-item .video-item-thumb {
  width: 100%;
  height: 248px;
  border-radius: 10px;
}

.video-item .video-item-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
}

/********************** 专题列表item **************/
.column-item .column-item-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 10px;
}
